<html>
	<head>
		<title>Report Penerimaan Jurusan</title>
		<style>
			#list_penerimaan_kasir{
				font-size: 10px;
			}
			thead{
				background-color: black;
				color: white;
			}

		</style>
	</head>
	<body>
	<center><h1>Laporan Supir</h1>
		<br/>
		<img src="./media/images/logo2.png"/>
		<br/>
		Periode : <?php echo $tgl_awal ?> s/d <?php echo $tgl_akhir ?>
	</center>
	<br/><br/>
	<table id="list_laporan_kendaraan" width="800" align="center" border="0">
		<table id="list_laporan_supir" width="100%" align="center" border="0">
	<thead>
		<tr>
			<th>No</th>
			<th>Nama Sopir</th>
			<th>Total Hari Kerja</th>
			<th>Total Keberangkatan</th>
			<th>Total Tiket</th>
			<th>Total Tiket Void</th>
			<th>Total Omset</th>
			<th>Produktivitas</th>
		</tr>
	</thead>
	<tbody>
		<?php 
                for($i=0;$i<count($list_result);$i++){?>
		<tr>
			<td><?php echo ($i+1)?></td>
			<td><?php echo $list_result[$i]['driver']?></td>
			<td><?php echo $hari[$i]?></td>
			<td><?php echo $jumlah_keberangkatan[$i]['jumlah_keberangkatan']?></td>
			<td><?php echo $setoran[$i]['total_penumpang']?></td>
			<td>Rp <?php echo number_format($setoran[$i]['tiket_void'],0,',','.')?></td>
			<td>Rp <?php echo number_format($setoran[$i]['total_omset'],0,',','.')?></td>
			<td><?php echo ($setoran[$i]['total_penumpang']/$setoran[$i]['total_kapasitas'])?></td>
		</tr>
		<?php }
                ?>
	</tbody>
</table>
</body>
</html>